﻿// See https://aka.ms/new-console-template for more information


using SmokeTest;

Class1.MethodMain("asdasd");

Console.WriteLine("本地引用项目的方式");

var model = new PropertyChangeTrackingTest();
model.IntVal1 = 1;

if (((IPropertyChangeTrackable)model).ChangeProperties?.Any() == true)
{
    foreach (var item in ((IPropertyChangeTrackable)model).ChangeProperties.Keys)
    {
        Console.WriteLine("change field: {0}", item);
    }
}


Console.ReadKey(false);